CONNECT
QLINK
TCONNECT

Syntax: CONNECT [#]inpipe TO [#]output
   and: QLINK #inpipe TO #output
   and: TCONNECT #inpipe TO #output
Location: Turbo Toolkit (CONNECT)
          PIPES (DIY Toolkit) (QLINK)
          TinyToolkit (TCONNECT)

All of these commands allow you to connect two pipes together.

The commands expect two opened channels where the first, #inpipe, must be an input pipe and the second, #output can be anything.

Note that #output must have already be an open channel.

The internal meaning of #output is then changed so that it becomes an output pipe connected to the input pipe #inpipe:

Example:
Before TCONNECT:
#pipechan -> input pipe -> buffer        
scr_2x2 <- #anychan    

After TCONNECT #pipechan TO #anychan:
#pipechan -> input pipe -> buffer -> output pipe -> #anychan

CROSS-REFERENCE:
The following functions are also useful when accessing pipes: EOFW, PEND, QSIZE%, QCOUNT% and QSPACE%.
See FILE_OPEN, CHANID, PIPES.
